<template>
	<view>
		<uni-popup ref="kk" :mode="mode">
			<view class="bgfff ra30 width880 posire pt50 pb50">
				<image @click="$refs.kk.close()" mode="widthFix" class="image posiab right30 top20 width50" src="/static/img/bi.png"></image>
				<view class="size36 color333 bold flex-a-i ml50 mb60">
					<view class="wh6-30 mt8 bg2C7BFF mr15"></view>个人信息
				</view>
				
				<slot></slot>
				<view class="flex-ju-c">
					<view class="flex-a-i mt80">
						<view @click="$refs.kk.close()" class="wh152-64 borderd0d6dc flex-ju-c ra5">取消</view>
						<view @click="sctrue" class="wh152-64 border165DFF colorfff bg165dff flex-ju-c ml60 ra5">{{confirm}}</view>
					</view>
				</view>
			</view>
			
		</uni-popup>
	</view>
</template>

<script>
	export default {
		name:"poup",
		props:['mode','confirm'],
		data() {
			return {
				
			};
		},
		created() {
			
		},
		methods:{
			show(){
				this.$refs.kk.open()
			},
			sctrue(){
				this.$emit('sctrue')
			}
		}
	}
</script>

<style>

</style>